package com.dk.controller.index;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

    @RequestMapping("toLogin")
    public String toLogin() {
        return "login";
    }

    @RequestMapping("index")
    public String index() {
        return "admin/index";
    }

    @RequestMapping("toSeller")
    public String toSeller() {
        return "admin/seller_1";
    }

    @RequestMapping("toGoods")
    public String toGoods() {
        return "admin/goods";
    }

    @RequestMapping("toCategory")
    public String toCategory() {
        return "admin/content_category";
    }

    @RequestMapping("toContent")
    public String toContent() {
        return "admin/content";
    }

}
